<?php

namespace backend\models\system;

use Yii;
use backend\models\system\SysConfig;

/**
 * ContactForm is the model behind the contact form.
 */
class UserregForm extends SysConfig
{
	public $email_title;//邮件标题
	public $email_content;//邮件内容
	public $email_protect;//注册防护机制
	public $welcome_message;//欢迎信息
	public $welcome_sender;//欢迎信息发送方
	public $welcome_title;//欢迎信息标题
	public $welcome_content;//欢迎信息内容
	public $service_status;//服务条款状态
	public $service_content;//条款内容
	public $phone_content;//手机发送内容
    /**
     * @inheritdoc 验证规则
     */
    public function rules()
    {
        return [
            [['email_protect','welcome_message','welcome_sender','welcome_title','welcome_content','service_status'], 'required'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'email_title' => '新用户激活邮件标题',
            'email_content' => '新用户激活邮件内容',
	        'phone_content' => '新用户激活短信内容',
            'email_protect' => '注册防护机制',
            'welcome_message' => '发送欢迎信息',
            'welcome_sender' => '欢迎信息发送方',
            'welcome_title' => '欢迎信息标题',
            'welcome_content' => '欢迎信息内容',
            'service_status' => '是否开启服务条款',
            'service_content' => '条款内容',
        ];
    }



}